/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 霓虹灯主题基础设置 */
body {
    background-color: #0f0b21;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(120, 40, 200, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 60, 120, 0.1) 0%, transparent 40%);
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
}

/* 背景发光装饰 */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    z-index: 0;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    background-color: #7828c8;
    top: -300px;
    left: -100px;
}

.bg-glow-2 {
    width: 600px;
    height: 600px;
    background-color: #ff3c78;
    bottom: -300px;
    right: -100px;
}

/* 登录容器 */
.login-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    z-index: 1;
}

/* 登录卡片 */
.login-card {
    background-color: rgba(15, 11, 33, 0.8);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow:
        0 0 15px rgba(120, 40, 200, 0.3),
        0 0 30px rgba(255, 60, 120, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* 霓虹灯标题效果 */
.neon-title {
    color: #fff;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 15px #7828c8,
        0 0 20px #7828c8,
        0 0 25px #7828c8;
    margin-bottom: 10px;
    font-size: 2rem;
}

.tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

/* 登录表单 */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 输入组 */
.input-group {
    position: relative;
}

.input-group label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border-radius: 30px;
    border: 1px solid rgba(120, 40, 200, 0.5);
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: #7828c8;
    box-shadow: 0 0 10px rgba(120, 40, 200, 0.5);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* 表单选项 - 带√效果的记住我复选框 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* 自定义复选框样式 */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

/* 隐藏原生复选框 */
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* 复选框样式 */
.checkmark {
    position: relative;
    height: 16px;
    width: 16px;
    border-radius: 3px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-color: transparent;
    transition: all 0.3s ease;
}

/* 选中状态添加√ */
.custom-checkbox input:checked ~ .checkmark::after {
    content: "✓";
    position: absolute;
    color: #7828c8;
    font-size: 12px;
    top: -2px;
    left: 1px;
    text-shadow: 0 0 5px #7828c8, 0 0 10px #7828c8;
}

/* 选中状态样式 */
.custom-checkbox input:checked ~ .checkmark {
    border-color: #7828c8;
    box-shadow: 0 0 5px #7828c8, 0 0 10px rgba(120, 40, 200, 0.5);
}

/* 鼠标悬停效果 */
.custom-checkbox:hover input:not(:checked) ~ .checkmark {
    border-color: rgba(120, 40, 200, 0.7);
}

.forgot-password {
    color: rgba(0, 255, 204, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #00ffcc;
    text-shadow: 0 0 5px #00ffcc;
}

/* 登录按钮 */
.login-btn {
    padding: 15px;
    border-radius: 30px;
    background-color: rgba(120, 40, 200, 0.2);
    border: 1px solid #7828c8;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.neon-btn {
    box-shadow: 0 0 5px #7828c8, 0 0 10px #7828c8;
}

.neon-btn:hover {
    box-shadow: 0 0 10px #7828c8, 0 0 20px #7828c8;
    background-color: rgba(120, 40, 200, 0.3);
}

/* 注册提示 */
.register-prompt {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.neon-link {
    color: #ff3c78;
    text-decoration: none;
    text-shadow: 0 0 5px #ff3c78;
    transition: all 0.3s ease;
}

.neon-link:hover {
    text-shadow: 0 0 10px #ff3c78;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
    }

    .neon-title {
        font-size: 1.8rem;
    }
}
/* 登录按钮 - 增强交互效果 */
.login-btn {
    padding: 15px;
    border-radius: 30px;
    background-color: rgba(120, 40, 200, 0.2);
    border: 1px solid #7828c8;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

/* 悬停效果 */
.login-btn:hover {
    box-shadow: 0 0 15px #7828c8, 0 0 30px rgba(120, 40, 200, 0.7);
    background-color: rgba(120, 40, 200, 0.3);
    transform: translateY(-2px);
}

/* 点击效果 */
.login-btn:active {
    transform: translateY(1px);
    box-shadow: 0 0 8px #7828c8, 0 0 15px rgba(120, 40, 200, 0.5);
    background-color: rgba(120, 40, 200, 0.4);
}

/* 按钮内部发光效果 */
.login-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(120, 40, 200, 0) 0%,
        rgba(120, 40, 200, 0.3) 50%,
        rgba(120, 40, 200, 0) 100%
    );
    transform: rotate(30deg);
    transition: all 0.6s ease;
}

.login-btn:hover::after {
    left: 120%;
}

.neon-btn {
    box-shadow: 0 0 5px #7828c8, 0 0 10px #7828c8;
}
.neon-link {
    color: #ff3c78;
    text-decoration: none;
    text-shadow: 0 0 5px #ff3c78;
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 0;
}

.neon-link:hover {
    text-shadow: 0 0 10px #ff3c78, 0 0 20px rgba(255, 60, 120, 0.8);
}

/* 添加点击效果 */
.neon-link:active {
    color: #ff6b96;
    text-shadow: 0 0 8px #ff6b96;
    transform: scale(0.95);
}

/* 可选：添加下划线动画增强可点击感 */
.neon-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ff3c78;
    box-shadow: 0 0 5px #ff3c78;
    transition: width 0.3s ease;
}

.neon-link:hover::after {
    width: 100%;
}